// 云诺 https://app.witframe.com/market/list/index?uid=24
const API = require('@/common/request/request')

const getBaseInfo = function(data) {
	return API.post('/apis_base', data);
}

const getMinappInfo = function(data) {
	return API.post('/apis_minapp', data);
}

const getSwiper = function(data) {
	return API.post('/apis_swiper', data);
}

const getNotice = function(data) {
	return API.post('/apis_notice', data);
}

const getNoticeDetail = function(data) {
	return API.post('/apis_notice/detail', data);
}

const getProductsCategory = function(data) {
	return API.post('/apis_productcategory', data);
}

const getProducts = function(data) {
	return API.post('/apis_product', data);
}

const getProductsDetail = function(data) {
	return API.post('/apis_product/detail', data);
}

const getNewsCategory = function(data) {
	return API.post('/apis_newscategory', data);
}

const getNews = function(data) {
	return API.post('/apis_news', data);
}

const getNewsDetail = function(data) {
	return API.post('/apis_news/detail', data);
}

const getIntroduce = function(data) {
	return API.post('/apis_introduce', data);
}
const getAbout = function(data) {
	return API.post('/apis_about', data);
}
const getContact = function(data) {
	return API.post('/apis_contact', data);
}
const getJob = function(data) {
	return API.post('/apis_job', data);
}
const getCourse = function(data) {
	return API.post('/apis_course', data);
}
const getCourseDetail = function(data) {
	return API.post('/apis_course/detail', data);
}
const getCase = function(data) {
	return API.post('/apis_case', data);
}
const getCaseDetail = function(data) {
	return API.post('/apis_case/detail', data);
}


API.getBaseInfo = getBaseInfo
API.getMinappInfo = getMinappInfo
API.getSwiper = getSwiper
API.getNotice = getNotice
API.getNoticeDetail = getNoticeDetail
API.getProductsCategory = getProductsCategory
API.getProducts = getProducts
API.getProductsDetail = getProductsDetail
API.getNewsCategory = getNewsCategory
API.getNews = getNews
API.getNewsDetail = getNewsDetail
API.getIntroduce = getIntroduce
API.getAbout = getAbout
API.getContact = getContact
API.getJob = getJob
API.getCourse = getCourse
API.getCourseDetail = getCourseDetail
API.getCase = getCase
API.getCaseDetail = getCaseDetail



module.exports = API
